#ifndef PERTIMER_H
#define PERTIMER_H

#include "person.h"
#include "helicopterform.h"
#include "blood.h"
#include "wagon.h"
#include <QTimer>
#include <QMovie>

class PerTimer : public QTimer
{
    Q_OBJECT

    signals:

    public:
        PerTimer(QObject*, int tempID);
        QWidget *object;
        void SetAction(int act);
        int GetAction();

    protected:

    private slots:
        void inc();
        void MakeBlood();

    private:
        int action; // 0 = fall, 1 = hit ground and die, 2 = be caught by wagon
};

#endif // PERTIMER_H
